class CreateLicenses < ActiveRecord::Migration
  def change
    create_table :licenses do |t|
      t.integer :driver_id
      t.string :license_no
      t.date :issued_date
      t.date :expiry_date
      t.text :remarks
      t.string :name

      t.timestamps
    end
  end
end
